<style>
	.bannerbaowei{
		height:150px
	}
	.center5585{
		background-color:#ffffff
	}
	
	.display{
		display:inline-block;
		width:19%;
		height:36px;
		line-height:36px;
		background-color: #4084bb;
		text-align: center;
		float:left;
		font-size: 4px;
		font-weight: 600;
		color: white;
		border-radius:5px;
	}
		
	.top{
		margin-top:20px;
		width:100%;
	}
		
	.top_input{
			height:36px;
			float:left;
			width:70%;
			margin-left:5%;
			border:1px solid #E6E6E6;
			background-color:#F3F3F3;
			border-radius:5px;
			text-align: center;
		}
		
	.header{
		background-color:#69d0fe;
		height:80px;
		/*width:100%;*/
		position:relative;
		z-index:100
	}
	
	.header_two{
		position:absolute;
		height:40px;
		line-height:40px;
		width:80%;
		background-color:white;
		top:20px;
		left:10%;
		border-left:8px solid #4084bb;
		border-radius: 5px;
	}

	.display{
		font-size:12px
	}

	.banner_word .clear_word{
		border-radius:4px;
		background-color:#4084bb;
		color:#fff;
		width:80px;
		height:35px;
		text-align:center;
		margin:5px 0 0 0px;
		float:right;line-height:35px;
	}
</style>

<div class="bannerbaowei" id="banner" style="position:fixed;top:0px;width:100%;height:100%;display:none;left:0px;background-color:white;z-index:100;padding-bottom:10px">
	<div class="header" style="height:80px">
		<div class="header_two">
			<span style="margin-left:15px;display:block;color:#1D1D1D">文章标题</span>
		</div>
	</div>

	<div class="top">
		<span class="display" style="margin-left:3%">输入标题 :</span>
		<input type="text" id="new_title" placeholder='请输入你的标题' value="<{$detail['title']}>" class="top_input">
	</div>

	<div style="clear:both"></div>

	<div class="top" style="margin-top:10px">
		<span class="display" style="margin-left:3%">分享简介 :</span>
		<input type="text" id="share_introduction" name="share_introduction" placeholder='分享简介' value="<{$detail['share_summary']}>" class="top_input">
	</div>

	<div class="banner_word" style="margin-top:55px;padding-left:3%;padding-right:3%">
		<p>选择分享图片：</p>
		<!-- <input type="file" name="picture" id="file" onchange="btn_submit()" style="display:none"> -->
		<div style="width:100%">
			<div style="width:50%;float:right">
				<p class="clear_word"  style="width:45%;" onclick="clear_picture(this)" >删除图片</p>
				<p class="clear_word"  style="margin-right:5px;width:45%" id="select_dom">图片</p>
			</div>
			<div style="width:50%;float:left;height:100px">
				<img id="show_img"  src="<{$detail['share_img']}>" style="width:100%;margin-top:10px">
			</div>
			<input type="hidden" id ="upload" name="share_img" value="<{$detail['share_img']}>">
		</div>
		<{:A('Upload')->upload_tool('select_dom','show_img','true')}>
	</div>

	
	<div onclick="show_no()" class="display" style="float:right;margin-top:100px;margin-right:20px;">取消</div>
	<div onclick="success()" id="affirm" class="display" style="float:right;margin-top:100px;margin-right:15px;">确认提交</div>
</div>

<script>	
	//取消
	function show_no(){
		$('#banner').hide();

		return false;
	}

	//清除图片
	function clear_picture(obj){
		$('#upload').val('');
		$(obj).parent().parent().find('img').attr('src','');
	}
</script>